process {
    withName: "BCFTOOLS_SORT" {
        ext.args = "--write-index=tbi --output-type z"
        ext.prefix = "sorted_"
    }
}
